/**
 * ChatMessage.java
 */
package com.tobeface.sns.domain.message;


/**
 * @author Dylan
 * @time 2012-8-2
 */
public class ChatMessage extends Message {

	private static final long serialVersionUID = 1L;

	protected String senderName;
	protected String receiverName;

	public ChatMessage() {
		super();
	}

	public ChatMessage(String senderName, String receiverName, String msg) {
		super();
		this.senderName = senderName;
		this.receiverName = receiverName;
		this.msg = msg;
		this.createTime = System.currentTimeMillis();
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

}
